/**
 * Created by Jie on 2017/2/4.
 */
var data = require('../util/result');
/* 桌面 */
var desktop = require('../controller/core/desktopController');
/* 菜单 */
var menu = require('../controller/core/menuController');

module.exports = {
    //桌面相关
    desktop_page:function (req,res) {
        desktop.index(req,res);
    },
    desktop_menu:function (req,res) {
        desktop.menu(req,res);
    },
    //菜单相关
    menu_page:function (req,res) {
        menu.index(req,res);
    },
    menu_form:function (req,res) {
        menu.form(req,res);
    },
    menu_insert:function (req,res) {
        menu.insert(req,res);
    },
    menu_list:function (req,res) {
        menu.list(req,res);
    }
};